<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenMesh: OpenMesh::IO::binary&lt; T &gt; Struct Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="logo_align.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="rwth_vci_rgb.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">OpenMesh
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('a02077.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="a02074.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">OpenMesh::IO::binary&lt; T &gt; Struct Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The struct defines how to store and restore the type T.  
 <a href="a02077.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="a00254_source.html">OpenMesh/Core/IO/SR_binary.hh</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a300f04c23abb7b2e66da4a0f046c57dd"><td class="memItemLeft" align="right" valign="top"><a id="a300f04c23abb7b2e66da4a0f046c57dd"></a>
typedef T&#160;</td><td class="memItemRight" valign="bottom"><b>value_type</b></td></tr>
<tr class="separator:a300f04c23abb7b2e66da4a0f046c57dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:af72b5070b20df95a5f973d11b03fbcd5"><td class="memItemLeft" align="right" valign="top"><a id="af72b5070b20df95a5f973d11b03fbcd5"></a>
static size_t&#160;</td><td class="memItemRight" valign="bottom"><b>size_of</b> (void)</td></tr>
<tr class="separator:af72b5070b20df95a5f973d11b03fbcd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac45c442af73899fce243d7260a980253"><td class="memItemLeft" align="right" valign="top"><a id="ac45c442af73899fce243d7260a980253"></a>
static size_t&#160;</td><td class="memItemRight" valign="bottom"><b>size_of</b> (const value_type &amp;)</td></tr>
<tr class="separator:ac45c442af73899fce243d7260a980253"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb321186ab02da4a35cb6561c471e28d"><td class="memItemLeft" align="right" valign="top"><a id="afb321186ab02da4a35cb6561c471e28d"></a>
static size_t&#160;</td><td class="memItemRight" valign="bottom"><b>store</b> (std::ostream &amp;, const value_type &amp;, bool)</td></tr>
<tr class="separator:afb321186ab02da4a35cb6561c471e28d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac48a48b429d4c34b811c21ebda9ba52b"><td class="memItemLeft" align="right" valign="top"><a id="ac48a48b429d4c34b811c21ebda9ba52b"></a>
static size_t&#160;</td><td class="memItemRight" valign="bottom"><b>restore</b> (std::istream &amp;, value_type &amp;, bool)</td></tr>
<tr class="separator:ac48a48b429d4c34b811c21ebda9ba52b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a6d42dc1115135e44361bf20f27706dcb"><td class="memItemLeft" align="right" valign="top"><a id="a6d42dc1115135e44361bf20f27706dcb"></a>
static const bool&#160;</td><td class="memItemRight" valign="bottom"><b>is_streamable</b> = false</td></tr>
<tr class="separator:a6d42dc1115135e44361bf20f27706dcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename T&gt;<br />
struct OpenMesh::IO::binary&lt; T &gt;</h3>

<p>The struct defines how to store and restore the type T. </p>
<p>It's used by the OM reader/writer modules.</p>
<p>The following specialization are provided:</p><ul>
<li>Fundamental types except <code>long</code> <code>double</code> </li>
<li>OpenMesh vector types</li>
<li>OpenMesh::StatusInfo</li>
<li>std::string (max. length 65535)</li>
</ul>
<dl class="todo"><dt><b><a class="el" href="a01226.html#_todo000003">Todo:</a></b></dt><dd>Complete documentation of members </dd></dl>
</div><hr/>The documentation for this struct was generated from the following file:<ul>
<li>OpenMesh/Core/IO/<a class="el" href="a00254_source.html">SR_binary.hh</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<hr>
<address>
<small>
<a href="http://www.rwth-graphics.de" style="text-decoration:none;">
</a>
Project <b>OpenMesh</b>, 
&copy;&nbsp; Computer Graphics Group, RWTH Aachen.
Documentation generated using 
<a class="el" href="http://www.doxygen.org/index.html">
<b>doxygen</b>
</a>.
</small>
</address>
</body>
</html>
